/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package program;
import java.awt.*;
/**
 *
 * @author kris
 */
public class Watek extends Thread {

    public void run(){
        while(true){
            Okienko.godzina = new Label("Godzina: "+(new java.util.Date()).toString());
            Okienko.godzina.validate();
            try {this.sleep(1000);}
            catch(InterruptedException e){}
            }
        }
    }

